import service from '/@/utils/request';

export const useSystemPersonalUpdateApi = (formData: object) => {
    // 将所有value字段强制转换为string
    return service({
        url: `v0/system/admin/update`,
        method: 'PUT',
        data: formData
    });
}

export const useSystemPersonalUpdateInfoApi = (formData: object) => {
    // 将所有value字段强制转换为string
    return service({
        url: `v0/system/admin/updateInfo`,
        method: 'PUT',
        data: formData
    });
}
